Skip to content

[Core] Implement Forward Message Segment Send#81

Merged
Linwenxuan04 merged 2 commits into
LagrangeDev:mainfrom
kengwang:feat/msg-forward-send
Nov 13, 2025
Merged

[Core] Implement Forward Message Segment Send#81
Linwenxuan04 merged 2 commits into
LagrangeDev:mainfrom
kengwang:feat/msg-forward-send

Conversation

@kengwang
Copy link
Copy Markdown
Contributor

@kengwang kengwang commented Nov 4, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 4, 2025 18:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements support for forward (multi-message) segments in outgoing messages. This allows users to send forwarded message chains through the API.

  • Adds ForwardOutgoingSegment and related data classes for representing forward messages
  • Implements conversion logic to build MultiMsgEntity from forward segment data
  • Enables the forward segment type in the JSON-derived type discriminators

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
Lagrange.Milky/Entity/Segment/ForwardSegment.cs Defines the outgoing forward segment classes and data structures
Lagrange.Milky/Utility/EntityConvert.Segment.cs Implements conversion logic from forward segments to multi-message entities
Lagrange.Milky/Entity/Segment/ISegment.cs Enables JSON deserialization for the forward outgoing segment type
Lagrange.Milky/README.md Updates documentation to mark forward segments as implemented

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Lagrange.Milky/Entity/Segment/ForwardSegment.cs
@Linwenxuan04 Linwenxuan04 merged commit be63377 into LagrangeDev:main Nov 13, 2025
9 checks passed
Bemly pushed a commit to Bemly/CharonAnchor that referenced this pull request May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants